import React from 'react';

const NoData = ({ style = {}, text = '暂无数据', prefix = '' }) => {

  return (
    <div
      style={{
        ...{
          textAlign: 'center',
          padding: '30px 0',
          color: 'rgba(255,255,255,0.6)',
          width: '100%',
        },
        ...style,
      }}
      className="c-nodata"
    >
      {prefix} {text}
    </div>
  );
};

export default NoData;
